Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[demo] add GPU specification in docker-compose.yaml for the SAM 2 interactive webdemo #355

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

ronghanghu
Copy link
Contributor

@ronghanghu ronghanghu commented Oct 3, 2024

This small PR adds GPU specification in docker-compose.yaml for the SAM 2 interactive webdemo, following https://docs.docker.com/compose/how-tos/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device. It fixes a GPU access error as reported in #354.

(close #354)

This small PR adds GPU specification in `docker-compose.yaml` for the SAM 2 interactive webdemo, following https://docs.docker.com/compose/how-tos/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device.

(Close #354)
Copy link
Contributor

@raedle raedle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ronghanghu ronghanghu merged commit e225218 into main Oct 3, 2024
2 checks passed
@ronghanghu ronghanghu deleted the ronghanghu/add_docker_gpu_specification branch October 3, 2024 23:48
NicoJorgensen1 pushed a commit to NicoJorgensen1/sam2 that referenced this pull request Oct 11, 2024
This small PR adds GPU specification in `docker-compose.yaml` for the SAM 2 interactive webdemo, following https://docs.docker.com/compose/how-tos/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device. It fixes a GPU access error as reported in facebookresearch#354.

(close facebookresearch#354)
NicoJorgensen1 pushed a commit to NicoJorgensen1/sam2 that referenced this pull request Oct 14, 2024
This small PR adds GPU specification in `docker-compose.yaml` for the SAM 2 interactive webdemo, following https://docs.docker.com/compose/how-tos/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device. It fixes a GPU access error as reported in facebookresearch#354.

(close facebookresearch#354)
NicoJorgensen1 pushed a commit to NicoJorgensen1/sam2 that referenced this pull request Oct 15, 2024
This small PR adds GPU specification in `docker-compose.yaml` for the SAM 2 interactive webdemo, following https://docs.docker.com/compose/how-tos/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device. It fixes a GPU access error as reported in facebookresearch#354.

(close facebookresearch#354)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

local demo docker is cannot detect GPU
4 participants